﻿<%@ Page Language="VB" MasterPageFile="~/DefaultMasterPage.master" AutoEventWireup="false" CodeFile="AdminUsuarios.aspx.vb" Inherits="InterfaceRica_AdminUsuarios" title="Admin Usuários" MaintainScrollPositionOnPostback="true" Theme="SampleSiteTheme"  %>

<asp:Content ID="c1" ContentPlaceHolderID="head" Runat="Server">

<style type="text/css">
.pequeno{height: 300px; width: 250px; float: left; padding: 5px;}
.caixa{z-index: 20; width: 250px;}
.caixa1{height:20px; border: solid 2px Black; width: 100%}
.caixa2{height:250px; border: solid 2px Black; width: 100%; overflow: scroll; color:whitesmoke; background-color:#0B3D73;}

.grande{height: 300px; width: 550px; float: left; padding: 5px;}
.grande .caixa{z-index: 20; width: 550px;}
.grande .caixa1{height:20px; border: solid 2px Black; width: 100%}
.grande .caixa2{height:250px; border: solid 2px Black; width: 100%; overflow: scroll; color:whitesmoke; background-color:#0B3D73;}

.dragMe{}
</style>

</asp:Content>
<asp:Content ID="c2" ContentPlaceHolderID="c" Runat="Server">



            <ajax:tabcontainer ID="t1" runat="server" ActiveTabIndex="0" Width="732px" 
                OnDemand="true">
            <ajax:TabPanel runat="server" HeaderText="Pessoas" ID="tb1" OnDemandMode="None">
                <HeaderTemplate>
                    Pessoas
                </HeaderTemplate>
                <ContentTemplate>
                
                                
            
<fieldset>
<legend>Cadastro</legend>
<leilao:PessoaBuscaCadastro runat="server" ID="p1" ApenasPesquisa="true" HabilitaAtualizacao="true" HabilitaCadastro="true" /> 
</fieldset>
                    
            </ContentTemplate>
            </ajax:TabPanel>
            <ajax:TabPanel runat="server" HeaderText="Usuários"  OnDemandMode="None" ID="tb2">
                <ContentTemplate>
            
            <fieldset>
            <legend>Cadastro</legend>
                    <leilao:PessoaBuscaCadastro runat="server" ID="p3" ApenasPesquisa="false" Visao="Cadastro" HabilitaBotaoVoltar="false" HabilitaAtualizacao="true" HabilitaCadastro="true" Visible="false" />
            </fieldset>
            
            <fieldset>
            <legend>Usuário</legend>

            <leilao:UsuarioCadastro runat="server" ID="u1" Visible="false" />

            </fieldset>

                </ContentTemplate>
            </ajax:TabPanel>

            <ajax:TabPanel runat="server" HeaderText="Peças" Visible="false" OnDemandMode="None" ID="tb3">
                <ContentTemplate>

                <leilao:PecasDoUsuario runat="server" ID="pcUsu1" />

                </ContentTemplate>
            </ajax:TabPanel>
            
            <ajax:TabPanel runat="server" HeaderText="Lotes" Visible="false" OnDemandMode="None" ID="tb4">
                <ContentTemplate>

                <leilao:LotesDoUsuario runat="server" ID="lotUsu" />

                </ContentTemplate>
            </ajax:TabPanel>
            
            </ajax:tabcontainer>
            
<hr />

            
<asp:Label runat="server" ID="lblInstrucoes" Text="?"></asp:Label>
<asp:Panel runat="server" ID="instr1">
Aqui você colocaria todas as instruções necessárias
</asp:Panel>
<asp:TextBox runat="server" ID="txtInstr" Text="Essas são instruções"></asp:TextBox>
<asp:Panel runat="server" ID="instr2">
Ou ainda poderia colocar dessa forma
</asp:Panel>

<ajax:BalloonPopupExtender ID="pop1" runat="server"
        TargetControlID="lblInstrucoes"
        BalloonPopupControlID="instr1"
        Position="BottomRight" 
        BalloonStyle="Rectangle"
        BalloonSize="Small"
        CustomClassName="oval"
        UseShadow="true" 
        ScrollBars="Auto"
        DisplayOnMouseOver="true"
        DisplayOnFocus="false"
        DisplayOnClick="true" />

<ajax:BalloonPopupExtender ID="pop2" runat="server"
        TargetControlID="txtInstr"
        BalloonPopupControlID="instr2"
        Position="BottomRight" 
        BalloonStyle="Rectangle"
        BalloonSize="Small"
        CustomClassName="oval"
        UseShadow="true" 
        ScrollBars="Auto"
        DisplayOnMouseOver="true"
        DisplayOnFocus="false"
        DisplayOnClick="true" />


<br /><br />
<asp:Panel runat="server" ID="instr3" Height="30" Width="350">
Passe um mouse sobre para saber quais ações
</asp:Panel>

<asp:Panel runat="server" ID="mn1">
<input type="button" value="Editar" />
<input type="button" value="Apagar" onclick="javascript:confirm('Deseja mesmo excluir essa opção?');" />
</asp:Panel>

<ajax:HoverMenuExtender ID="hme2" runat="Server"
    TargetControlID="instr3"
    PopupControlID="mn1"
    HoverCssClass="popupHover"
    PopupPosition="Right"
    OffsetX="0"
    OffsetY="0"
    PopDelay="50" />


<script language="javascript" type="text/javascript">
    var md1 = '<%=md1.clientID%>';
    function openX() {
        Abrirmd1();
        //var modal = $find(md1);
        //modal.show();
        }
</script>

<leilao:Modal runat="server" ID="md1" Width="300" Height="100" Titulo="Detalhe">
<BoxTemplate>
dsdsdsdsdsds
<table>
    <tr><td>Nome</td><td>Telefone</td><td>Turma</td></tr>
    <tr><td>Leonardo</td><td>2222-4567</td><td>TMBA*GP</td></tr>
    <tr><td>Ana</td><td>2222-4567</td><td>TMBA*GP</td></tr>
    <tr><td>ari</td><td>2222-4567</td><td>TMBA*GP</td></tr>
    <tr><td>ari</td><td>2222-4567</td><td>TMBA*GP</td></tr>
    <tr><td>marmeide</td><td>2222-4567</td><td>TMBA*GP</td></tr>
    <tr><td>antonia</td><td>2222-4567</td><td>TMBA*GP</td></tr>
</table>
dsdsdsdsdsds<br />
dsdsdsdsdsds<br />dsdsdsdsdsds<br />dsdsdsdsdsds<br />dsdsdsdsdsds<br />dsdsdsdsdsds<br />
</BoxTemplate>
</leilao:Modal>

<asp:Button runat="server" ID="btTeste" Text="TESTAR" />

        <div class="grande">
            <asp:Panel ID="pn1" runat="server" CssClass="caixa">
                <asp:Panel ID="pn2" runat="server" CssClass="caixa1">
                        <div class="dragMe">Literal</div>
                </asp:Panel>
                <asp:Panel  ID="pn3" CssClass="caixa2" runat="server">
                        <div>
                        Nome: <asp:TextBox runat="server" ID="txNome"></asp:TextBox>3 selecionados
                        <br />
                        CPF: <asp:TextBox runat="server" ID="TextBox1"></asp:TextBox><br />
                        Turma: <asp:TextBox runat="server" ID="TextBox2"></asp:TextBox><br />
                        <asp:Button runat="server" ID="btPesq" Text="Buscar" />
                        
                        <table>
                        <tr><td>Nome</td><td>Telefone</td><td>Turma</td></tr>
                        <tr><td>Leonardo</td><td>2222-4567</td><td>TMBA*GP </td></tr>
                        <tr><td>Ana</td><td>2222-4567</td><td>TMBA*GP</td></tr>
                        <tr><td>ari</td><td>2222-4567</td><td>TMBA*GP</td></tr>
                        <tr><td>ari</td><td>2222-4567</td><td>TMBA*GP</td></tr>
                        <tr><td>marmeide</td><td>2222-4567</td><td>TMBA*GP</td></tr>
                        <tr><td>antonia</td><td>2222-4567</td><td>TMBA*GP<input type="button" onclick="javascript:openX();" value="detalhe" /></td></tr>
                        </table>
                            <hr />
                            <ul>
                            <li>Carlos - TMBA*GP5</li>
                            <li>Wesley - TMBA*GP5</li>
                            </ul>
                            <p></p>
                        </div>
                </asp:Panel>
            </asp:Panel>
        </div>       
        <div style="clear: both;"></div>
        
        <ajax:DragPanelExtender ID="gdj1" runat="server" TargetControlID="pn1" DragHandleID="pn2" />


<asp:Repeater runat="server" ID="rpt2">
<ItemTemplate>
        <div class="pequeno">
            <asp:Panel ID="pn10" runat="server" CssClass="caixa">
                <asp:Panel ID="pn20" runat="server" CssClass="caixa1">
                        <div class="dragMe">Literal</div>
                </asp:Panel>
                <asp:Panel  ID="pn30" CssClass="caixa2" runat="server">
                        <div>
                            <p>This panel will reset its position on a postback or page refresh.</p>
                            <hr />
                            <p>sdkjkf hhjhll jhsdsd kjsd hjh dsj hjhalekdma kjda<br />ijds jdsj alsja</p>
                            <p>sdkjkf hhjhll jhsdsd kjsd hjh dsj hjhalekdma kjda<br />ijds jdsj alsja</p>
                            <p>sdkjkf hhjhll jhsdsd kjsd hjh dsj hjhalekdma kjda<br />ijds jdsj alsja</p>
                            <p>sdkjkf hhjhll jhsdsd kjsd hjh dsj hjhalekdma kjda<br />ijds jdsj alsja</p>
                            <p>sdkjkf hhjhll jhsdsd kjsd hjh dsj hjhalekdma kjda<br />ijds jdsj alsja</p>
                            <input type="button" value="Evento" />
                            <input type="button" value="Evento" />
                            <input type="button" value="Evento" />
                            
                        </div>
                </asp:Panel>
            </asp:Panel>
        </div>       
        
        <ajax:DragPanelExtender ID="gdj2" runat="server" TargetControlID="pn10" DragHandleID="pn20" />
</ItemTemplate>
</asp:Repeater>
<div style="clear: both;"></div>

</asp:Content>
<asp:Content ID="c3" ContentPlaceHolderID="f" Runat="Server">
    
</asp:Content>

